package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.system.domain.ProCreateBuilding;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 施工资料对象 pro_impl
 * 
 * @author ruoyi
 * @date 2020-06-28
 */
public class ProImpl extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @Excels({
            @Excel(name="项目名称",targetAttr = "pName", type = Excel.Type.EXPORT),
            @Excel(name="创建时间",targetAttr = "pTime" ,type = Excel.Type.EXPORT),
            @Excel(name="项目经理",targetAttr = "pFounder",type = Excel.Type.EXPORT)
    })
    private ProCreateBuilding proCreateBuilding;

    public ProCreateBuilding getProCreateBuilding() {
        return proCreateBuilding;
    }

    public void setProCreateBuilding(ProCreateBuilding proCreateBuilding) {
        this.proCreateBuilding = proCreateBuilding;
    }

    /** 资料id */
    private Long imId;

    /** 资料类型 */
    @Excel(name = "资料类型")
    private Long imType;

    /** 资料名称 */
    @Excel(name = "资料名称")
    private String imName;

    /** 上传资料 */
   // @Excel(name = "上传资料")
    private String imData;

    /** 上传时间 */
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date imTime;

    /** 上传人 */
    @Excel(name = "上传人")
    private String imTheHeir;

    /** 备注 */
    @Excel(name = "备注")
    private String imRemark;

    /** 项目信息 */
   // @Excel(name = "项目信息")
    private Long imPro;

    public Long getImState() {
        return imState;
    }

    public void setImState(Long imState) {
        this.imState = imState;
    }

    /** 审批状态 */
   // @Excel(name = "审批状态")
    private Long imState;

    public String getImOpinion() {
        return imOpinion;
    }

    public void setImOpinion(String imOpinion) {
        this.imOpinion = imOpinion;
    }

    /** 审批意见 */
   // @Excel(name = "审批意见")
    private String imOpinion;

    public void setImId(Long imId) 
    {
        this.imId = imId;
    }

    public Long getImId() 
    {
        return imId;
    }
    public void setImType(Long imType) 
    {
        this.imType = imType;
    }

    public Long getImType() 
    {
        return imType;
    }
    public void setImName(String imName) 
    {
        this.imName = imName;
    }

    public String getImName() 
    {
        return imName;
    }
    public void setImData(String imData) 
    {
        this.imData = imData;
    }

    public String getImData() 
    {
        return imData;
    }
    public void setImTime(Date imTime) 
    {
        this.imTime = imTime;
    }

    public Date getImTime() 
    {
        return imTime;
    }
    public void setImTheHeir(String imTheHeir) 
    {
        this.imTheHeir = imTheHeir;
    }

    public String getImTheHeir() 
    {
        return imTheHeir;
    }
    public void setImRemark(String imRemark) 
    {
        this.imRemark = imRemark;
    }

    public String getImRemark() 
    {
        return imRemark;
    }
    public void setImPro(Long imPro) 
    {
        this.imPro = imPro;
    }

    public Long getImPro() 
    {
        return imPro;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imId", getImId())
            .append("imType", getImType())
            .append("imName", getImName())
            .append("imData", getImData())
            .append("imTime", getImTime())
            .append("imTheHeir", getImTheHeir())
            .append("imRemark", getImRemark())
            .append("imPro", getImPro())
            .append("imState", getImState())
            .append("imOpinion",getImOpinion())
                .append("proCreateBuilding",getProCreateBuilding())
            .toString();
    }
}
